.order-card {
  background-color: #fff;
  overflow: hidden;
  margin: 20rpx auto;
  padding-right: 20rpx;
  padding-top: 15rpx;
  padding-left: 20rpx;
  padding-bottom: 15rpx;
  width: 90%;
  border-radius: 30rpx;

  .order-card-title {
    display: flex;
    font-size: 25rpx;
    align-items: center;

    .order-card-title-order-number {
      display: flex;
      align-items: baseline;

      .order-card-title-order-number-text {
        font-size: 25rpx;
      }

      .order-card-title-order-number-value {
        font-size: 20rpx;
      }
    }

    .order-card-title-copy-button {
      height: 35rpx;
      width: 85rpx;
      border: 1rpx solid #000;
      background-color: #fff;
      border-radius: 999rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 20rpx;
      transition: all 0.2s ease;
      font-size: 23rpx;
    }

    .order-card-title-copy-button-hover {
      background-color: #000;
      color: #fff;
      transform: scale(0.95);
      border-width: 2rpx;
    }


    .order-cart-title-status {
      color: #1989fa;
      margin-left: auto;
      margin-right: 3rpx;
    }

  }

  .order-card-time-tip {
    font-size: 25rpx;
    color: #1989fa;
    margin-top: 10rpx;
  }

  .order-card-detail {
    overflow: hidden;
    margin-top: 15rpx;

    .order-card-one-product {
      display: flex;

      .order-card-one-product-description {
        width: 85%;
        display: flex;
        align-items: center;

        .order-card-one-product-description-image {
          width: 110rpx;
          height: 110rpx;
          border: 2rpx solid #e8e8e8;
          border-radius: 20rpx;
        }

        .order-card-one-product-description-productInfo {
          flex: 1;
          margin-left: 20rpx;
          overflow: hidden;

          .order-card-one-product-description-productInfo-product-name {
            font-size: 27rpx;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }

          .order-card-one-product-description-productInfo-product-specification-name {
            font-size: 20rpx;
            color: #979797;
            margin-top: 20rpx;
          }
        }
      }

      .order-card-one-product-amount {
        width: 15%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;

        .order-card-one-product-amount-total-price {
          font-size: 20rpx;
          color: red;
        }

        .order-card-one-product-amount-total-type {
          margin-top: 50rpx;
          font-size: 25rpx;
          color: #9b9b9b;
        }
      }
    }

    .order-card-more-than-one-product {
      overflow: hidden;
      display: flex;
      justify-content: space-between;
      .order-card-more-than-one-product-images{
        width: 75%;
        white-space: nowrap;
        .order-card-more-than-one-product-images-item{
          width: 110rpx;
          height: 110rpx;
          border: 2rpx solid #e8e8e8;
          border-radius: 20rpx;
          display: inline-block;
          &:nth-child(n+2){
            margin-left: 16rpx;
          } 
        }
      }
      .order-card-more-than-one-product-amount{
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        .order-card-more-than-one-product-amount-total-price {
          font-size: 20rpx;
          color: red;
        }

        .order-card-more-than-one-product-amount-total-type {
          margin-top: 50rpx;
          font-size: 25rpx;
          color: #9b9b9b;
        }
      }
    }
  }
  .order-card-tip{
    background-color: #f4f7f7;
    display: flex;
    align-items: center;
    font-size: 30rpx;
    padding: 20rpx 25rpx;
    color: #171d2c;
    margin-top: 15rpx;
    margin-bottom: -20rpx;
    .order-card-tip-icon{
      margin-top: 10rpx;
      font-weight: bold;
    }
    .order-card-tip-title{
      margin-left: 15rpx;
      font-weight: bold;
    }
    .order-card-tip-text{
        margin-left: 15rpx;
    }
  }
  .order-card-buttons{
    display: flex;
    margin-top: 40rpx;
    .order-card-buttons-item{
      background-color: #f5f5f5;
      padding: 15rpx;
      border-radius: 20rpx;
      font-size: 25rpx;
      transition: all 0.2s ease;
      &:first-child{
        margin-left: auto;
      }
      &:nth-child(n+2){
        margin-left: 15rpx;
      }
      &:last-child{
        background-color: #A7E1E4;
      }
    }
    .order-card-buttons-item-hover{
      transform: scale(0.90);
      box-shadow: 0 1rpx 3rpx rgba(0, 0, 0, 0.2);
    }
  }
}